package com.kws.tool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kws.tool.entity.ElectricityTypeOneEntity;
import org.apache.ibatis.annotations.Delete;

/**
 * @author : zhangbenting
 * @date : 2024/12/4 10:44
 * @Version: 1.0
 */
public interface ElectricityTypeIMapper extends BaseMapper<ElectricityTypeOneEntity> {

    @Delete("DELETE FROM tb_electricity_type_one")
    int deleteAllElectricityTypes();

    @Delete("DELETE FROM tb_electricity_type_two_voltage")
    int deleteAllElectricityTypesVoltage();

    @Delete("DELETE FROM tb_electricity_month_choose")
    int deleteAllElectricityMonthChoose();

    @Delete("DELETE FROM tb_electricity_divide_hour")
    int deleteAllElectricityDivideHour();

    @Delete("DELETE FROM tb_electricity_divide_month")
    int deleteAllElectricityDivideMonth();

    @Delete("DELETE FROM tb_electricity_price_difference")
    int deleteAllElectricityPriceDifference();

    @Delete("DELETE FROM tb_electricity_level")
    int deleteAllElectricityLevel();

    @Delete("DELETE FROM tb_electricity_month_choose_analysis")
    int deleteAllElectricityMonthChooseAnalysis();

    @Delete("DELETE FROM tb_electricity_peak_valley_spread")
    int deleteAllElectricityPeakValleySpread();

    @Delete("DELETE FROM tb_electricity_price_analysis")
    int deleteAllElectricityPriceAnalysis();
}
